using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
[Serializable]
public class SysParameterTable : TableInfo
{
public const string C_TABLENAME = "Sys_Parameter";

public const string C_PARAMETERID = "PARAMETERID";

public const string C_PARAMETERCODE = "PARAMETERCODE";

public const string C_PARAMETERNAME = "PARAMETERNAME";

public const string C_PARATMETERVALUE = "PARATMETERVALUE";

public const string C_ORDERNUMBER = "ORDERNUMBER";

public const string C_DESCRIPTION = "DESCRIPTION";

public const string C_STATUS = "STATUS";

public const string C_CREATEUSERID = "CREATEUSERID";

public const string C_CREATEDATE = "CREATEDATE";

public const string C_MODIFYUSERID = "MODIFYUSERID";

public const string C_MODIFYDATE = "MODIFYDATE";

public const string C_PARAMETERTYPEID = "PARAMETERTYPEID";

public SysParameterTable()
{
_tableName = "Sys_Parameter";
}

protected static SysParameterTable _current;
public static SysParameterTable Current
{
get
{
if (_current == null )
{
Initial();
}
return _current;
}
}

private static void Initial()
{
_current = new SysParameterTable();

_current.Add(C_PARAMETERID, new ColumnInfo(C_PARAMETERID, "", true, typeof(Int32?)));

_current.Add(C_PARAMETERCODE, new ColumnInfo(C_PARAMETERCODE, "", false, typeof(String)));

_current.Add(C_PARAMETERNAME, new ColumnInfo(C_PARAMETERNAME, "", false, typeof(String)));

_current.Add(C_PARATMETERVALUE, new ColumnInfo(C_PARATMETERVALUE, "", false, typeof(String)));

_current.Add(C_ORDERNUMBER, new ColumnInfo(C_ORDERNUMBER, "", false, typeof(Int32?)));

_current.Add(C_DESCRIPTION, new ColumnInfo(C_DESCRIPTION, "", false, typeof(String)));

_current.Add(C_STATUS, new ColumnInfo(C_STATUS, "", false, typeof(String)));

_current.Add(C_CREATEUSERID, new ColumnInfo(C_CREATEUSERID, "", false, typeof(String)));

_current.Add(C_CREATEDATE, new ColumnInfo(C_CREATEDATE, "", false, typeof(DateTime?)));

_current.Add(C_MODIFYUSERID, new ColumnInfo(C_MODIFYUSERID, "", false, typeof(String)));

_current.Add(C_MODIFYDATE, new ColumnInfo(C_MODIFYDATE, "", false, typeof(DateTime?)));

_current.Add(C_PARAMETERTYPEID, new ColumnInfo(C_PARAMETERTYPEID, "", false, typeof(String)));

}

public ColumnInfo PARAMETERID
{
get { return this[C_PARAMETERID]; }
}

public ColumnInfo PARAMETERCODE
{
get { return this[C_PARAMETERCODE]; }
}

public ColumnInfo PARAMETERNAME
{
get { return this[C_PARAMETERNAME]; }
}

public ColumnInfo PARATMETERVALUE
{
get { return this[C_PARATMETERVALUE]; }
}

public ColumnInfo ORDERNUMBER
{
get { return this[C_ORDERNUMBER]; }
}

public ColumnInfo DESCRIPTION
{
get { return this[C_DESCRIPTION]; }
}

public ColumnInfo STATUS
{
get { return this[C_STATUS]; }
}

public ColumnInfo CREATEUSERID
{
get { return this[C_CREATEUSERID]; }
}

public ColumnInfo CREATEDATE
{
get { return this[C_CREATEDATE]; }
}

public ColumnInfo MODIFYUSERID
{
get { return this[C_MODIFYUSERID]; }
}

public ColumnInfo MODIFYDATE
{
get { return this[C_MODIFYDATE]; }
}

public ColumnInfo PARAMETERTYPEID
{
get { return this[C_PARAMETERTYPEID]; }
}

}
}